//
//  TBBTagView.h
//  MuYing
//
//  Created by tbb on 2019/12/30.
//  Copyright © 2019 TBB. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TBBTagImageDefine.h"
NS_ASSUME_NONNULL_BEGIN
@class TBBTagModel;
@interface TBBTagView : UIView
- (instancetype)initWithFrame:(CGRect)frame title:(NSString *)title state:(ZYTagViewState)state;
/** 初始化 */
//- (instancetype)initWithTagInfo:(ZYTagInfo *)tagInfo;
/** 是否可编辑 default is YES */
@property (nonatomic, assign) BOOL isEditEnabled;
/** 白点相对父视图的位置 */
@property (nonatomic, assign) CGPoint arrowPoint;
/** 白点相对父视图的中心坐标 */
@property (nonatomic, assign) CGPoint arrowCenter;
//状态
@property (nonatomic, assign) ZYTagViewState pointState;

@property (nonatomic, strong) TBBTagModel * tagModel;

@property (nonatomic, copy) void(^deleteAction)(void);

@end

NS_ASSUME_NONNULL_END

